import Https from "@/utils/Https";

export const queryPageDataReq = async (params) =>
  await Https.post("/staff/salaryslip/slipList", params);

export const addItemReq = async (params) => await Https.post("/tables", params);
export const updateItemReq = async (params) =>
  await Https.post("/tables", params, true);
export const deleteItemReq = async (params) =>
  await Https.post("/tables", params, true);

export const queryItemInfoReq = async (params) =>
  await Https.post("/tables", params);

export const toggleStateReq = async (params) =>
  await Https.post("/tables", params, true);
export const exportReq = async (params) =>
  await Https.post("/staff/salaryslip/export", params);
